package com.four.pojo;


import lombok.Data;

import java.io.Serializable;
import java.util.Date;



public class Product implements Serializable {
    //商品表
    private int pid;//商品id
    private String pname;//商品名称
    private int price;//价格
    private int stock;//现有库存
    private int pstate;//状态 1上架 0下架
    private Date ptime;//添加时间
    private int sales;//销售提成
    private String remark;//备注
    private int cid;//商品分类
    private String cname;//商品分类名称
    private int staff_id;
    private String s_name;
    private int a_price;
    private int qwe;
    private int stocks;//初期库存
    private Date endTime;//结束时间
    private int mid;//会员id
    private String counts;//数量
    private String sums;//总钱数
    private Date d_time;//开始时间
    private String c_number;//车牌号
    private String mode;//支付方式
    private String serv;//服务
    private Integer o_number;//订单号

    public Integer getO_number() {
        return o_number;
    }

    public void setO_number(Integer o_number) {
        this.o_number = o_number;
    }


    public String getServ() {
        return serv;
    }

    public void setServ(String serv) {
        this.serv = serv;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getSums() {
        return sums;
    }

    public void setSums(String sums) {
        this.sums = sums;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getCounts() {
        return counts;
    }

    public void setCounts(String counts) {
        this.counts = counts;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getD_time() {
        return d_time;
    }

    public void setD_time(Date d_time) {
        this.d_time = d_time;
    }

    public String getC_number() {
        return c_number;
    }

    public void setC_number(String c_number) {
        this.c_number = c_number;
    }

    public int getStocks() {
        return stocks;
    }

    public void setStocks(int stocks) {
        this.stocks = stocks;
    }
    private int sss_id;

    public int getSss_id() {
        return sss_id;
    }

    public void setSss_id(int sss_id) {
        this.sss_id = sss_id;
    }

    public int getQwe() {
        return qwe;
    }

    public void setQwe(int qwe) {
        this.qwe = qwe;
    }

    private int record;
    private String ifrecord;


    public int getRecord() {
        return record;
    }

    public void setRecord(int record) {
        this.record = record;
    }

    public String getIfrecord() {
        return ifrecord;
    }

    public void setIfrecord(String ifrecord) {
        this.ifrecord = ifrecord;
    }

    public int getA_price() {
        return a_price;
    }

    public void setA_price(int a_price) {
        this.a_price = a_price;
    }

    public int getStaff_id() {
        return staff_id;
    }

    public void setStaff_id(int staff_id) {
        this.staff_id = staff_id;
    }

    public String getS_name() {
        return s_name;
    }

    public void setS_name(String s_name) {
        this.s_name = s_name;
    }

    public Date getPtime() {
        return ptime;
    }

    public void setPtime(Date ptime) {
        this.ptime = ptime;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getPstate() {
        return pstate;
    }

    public void setPstate(int pstate) {
        this.pstate = pstate;
    }


    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", price=" + price +
                ", stock=" + stock +
                ", pstate=" + pstate +
                ", ptime=" + ptime +
                ", sales=" + sales +
                ", remark='" + remark + '\'' +
                ", cid=" + cid +
                ", cname='" + cname + '\'' +
                '}';
    }
}